---
title: 了解 useMemo 和 useCallback
---

## 链接

https://www.joshwcomeau.com/react/usememo-and-usecallback/


https://javascript.plainenglish.io/react-hooks-when-to-use-uselayouteffect-instead-of-useeffect-3271a96d881a